package com.dzk.cp.c11x5.dao;

import java.util.List;

import com.dzk.cp.c11x5.pojo.R5;

public interface R5Dao<T extends R5> {
	
	void save(T r5);
	
	void batchSave(List<T> r5s);
	
	int getCount();

	T getLastR5();

	T getR5ByQs(String issue);
	
	int getYl(String issue, String code);
	
	int getCurrentYl(String code);
	
	List<T> query(String fromDate, String toDate);
	
	List<T> queryLatest(int num);

}
